package edu.washington.tcss360.burningpenguins.data;

/**
 * A class to represent the Permission table in the DB.
 * 
 * @author Chris Gelatt
 * @version 1.0
 * @since 2013-11-2
 *
 */
public class Permission extends DataObject
{
	private Integer id;
	private Integer conferenceId;
	private Integer userId;
	private Integer roleId;
	
	public Permission()
	{
		super();
	}
	
	public Permission(Integer conferenceId, Integer userId, Integer roleId)
	{
		super();
		this.conferenceId = conferenceId;
		this.userId = userId;
		this.roleId = roleId;
	}
	
	public Integer getId()
	{
		return id;
	}
	
	public void setId(Integer id)
	{
		this.id = id;
	}
	
	public Integer getConferenceId()
	{
		return conferenceId;
	}
	
	public void setConferenceId(Integer conferenceId)
	{
		this.conferenceId = conferenceId;
	}

	public Integer getUserId()
	{
		return userId;
	}
	
	public void setUserId(Integer userId)
	{
		this.userId = userId;
	}
	
	public Integer getRoleId()
	{
		return roleId;
	}
	
	public void setRoleId(Integer roleId)
	{
		this.roleId = roleId;
	}
}
